package org.csl.core;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;


public class SayHello {

	@Autowired
	private People people;
	
	private int i ;
	private String str;
	
	public SayHello(){}
	
	public SayHello(int i,String str){
		this.i = i ;
		this.str = str;
	}
	
	public void say(){
		System.out.println("---hello world spring----");
		people.pSay();
	}

	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}

	public String getStr() {
		return str;
	}

	public void setStr(String str) {
		this.str = str;
	}
	
	
}
